package createPattern.factory.simpleFactory;

import createPattern.factory.model.Character;

public class Client {

    public static void main(String[] args) {
        CharacterFactory characterFactory = new CharacterFactory();

        //创建迪卢克
        Character diluc = characterFactory.create("Diluc");
        diluc.show();

        //创建琴
        Character jean = characterFactory.create("Jean");
        jean.show();

        //创建可莉
        Character klee = characterFactory.create("Klee");
        klee.show();


    }
}
